package mesweb.mesweb.mapper.produce;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import mesweb.mesweb.dto.ProducePlan.DayReportDetailConditionDto;
import mesweb.mesweb.entity.produce.ProduceDayReport;
import mesweb.mesweb.vo.ProducePlan.DayReportDetailResultVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 日报工
 * @Author: jeecg-boot
 * @Date:   2021-08-17
 * @Version: V1.0
 */
public interface ProduceDayReportMapper extends BaseMapper<ProduceDayReport> {
    
    IPage<ProduceDayReport> getProduceDayReport(Page page, @Param("ew") QueryWrapper queryWrapper);
    List<ProduceDayReport> getProduceDayReport(@Param("ew") QueryWrapper queryWrapper);
    void saveDayReport(ProduceDayReport produceDayReport);
    List<DayReportDetailResultVo> statProduceProcess(DayReportDetailConditionDto dayReportDetailConditionDto);

}
